import request from '@/utils/request'

class APINotice {
    /** 搜索 */
    static getNoticeList() {
        return request<any, ResponseData>({
            url: '/getNoticeList',
            method: 'POST'
        })
    }

    static getNoticeTitle(type: any) {
        return request<any, ResponseData>({
            url: '/getNoticeTitle',
            method: 'POST',
            data: { type }
        })
    }
    

}

export default APINotice
